If a=b, then ac=bc.

Example: a

5=

b=5

c=2

ac=5x2 is equal to bc=5x2

Both problems equal 10!